package com.soloyogame.anitoys.db.bean;

import com.soloyogame.anitoys.db.page.PagerModel;

/**
 * 权限
 *
 * @author shaojian
 */
public class Privilege extends PagerModel {

    private String id;    //ID
    private String rid;   //角色ID
    private String mid;   //资源ID
    private String businessId;	//商家ID

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public void clear() {
        // TODO Auto-generated method stub
        this.id = null;
        this.mid = null;
        this.rid = null;
    }

}
